package com.kk.xhr.admin.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 薪资添加request
 *
 * @author luokexiong
 * @version 1.0 2021/2/17
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SalaryAddRequest {
    @ApiModelProperty(value = "用户id", example = "1")
    @NotNull
    private Long userId;
    /** 基本工资 */
    private Long basicSalary;
    /** 养老金基数 */
    private Long pensionBase;
    /** 养老金比率 */
    private Float pensionPercentage;
    /** 医疗基数 */
    private Long medicalBase;
    /** 医疗保险比率 */
    private Float medicalPercentage;
    /** 公积金基数 */
    private Long accumulationFundBase;
    /** 公积金比率 */
    private Float accumulationFundPercentage;
    /** 个人所得税 */
    private Double individualTax;
    /** 工资日期 */
    private Long salaryTime;
}
